package com.messe.base.models;

import java.util.HashSet;
import java.util.Set;

/**
 * Industry entity. @author MyEclipse Persistence Tools
 */

public class Industry implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 7450607237515598823L;
	private String id;
	private Integer sortNum;
	private String parentId;
	private Set visitorinfoIndustryRels = new HashSet(0);
	private Set organizationIndustryRels = new HashSet(0);
	private Set<IndustryAppendix> industryAppendixes = new HashSet<IndustryAppendix>(0);
	private Set exhibitionIndustryRels = new HashSet(0);

	// Constructors

	/** default constructor */
	public Industry() {
	}

	/** minimal constructor */
	public Industry(String id) {
		this.id = id;
	}

	/** full constructor */
	public Industry(String id, Integer sortNum, String parentId, Set visitorinfoIndustryRels,
			Set organizationIndustryRels, Set industryAppendixes, Set exhibitionIndustryRels) {
		this.id = id;
		this.sortNum = sortNum;
		this.parentId = parentId;
		this.visitorinfoIndustryRels = visitorinfoIndustryRels;
		this.organizationIndustryRels = organizationIndustryRels;
		this.industryAppendixes = industryAppendixes;
		this.exhibitionIndustryRels = exhibitionIndustryRels;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getSortNum() {
		return this.sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Set getVisitorinfoIndustryRels() {
		return this.visitorinfoIndustryRels;
	}

	public void setVisitorinfoIndustryRels(Set visitorinfoIndustryRels) {
		this.visitorinfoIndustryRels = visitorinfoIndustryRels;
	}

	public Set getOrganizationIndustryRels() {
		return this.organizationIndustryRels;
	}

	public void setOrganizationIndustryRels(Set organizationIndustryRels) {
		this.organizationIndustryRels = organizationIndustryRels;
	}


	public Set getExhibitionIndustryRels() {
		return this.exhibitionIndustryRels;
	}

	public void setExhibitionIndustryRels(Set exhibitionIndustryRels) {
		this.exhibitionIndustryRels = exhibitionIndustryRels;
	}

	public Set<IndustryAppendix> getIndustryAppendixes() {
		return industryAppendixes;
	}

	public void setIndustryAppendixes(Set<IndustryAppendix> industryAppendixes) {
		this.industryAppendixes = industryAppendixes;
	}

	
}